package love.yuanmengrobot.guoyitang.service.impl;

import love.yuanmengrobot.guoyitang.entity.User;
import love.yuanmengrobot.guoyitang.mapper.UserMapper;
import love.yuanmengrobot.guoyitang.service.UserService;
import org.springframework.data.redis.core.*;
import java.util.List;
import java.util.concurrent.TimeUnit;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	UserMapper userMapper;

	@Override
	public List<User> findAll() {
		// TODO 存入redis数据
		

		return userMapper.selectList(null);
	}
	

}
